//
//  GetCurrentColor.m
//  LZMPro
//
//  Created by dllo on 15/11/4.
//  Copyright © 2015年 LZS. All rights reserved.
//

#import "GetCurrentColor.h"

@implementation GetCurrentColor

+(UIColor *)getCurrentColor
{
    NSString *str  = [[NSUserDefaults standardUserDefaults] objectForKey:@"Night"];

    UIColor *color;
    
    if ([str isEqualToString:@"yes"]) {
    
        color = [UIColor blackColor];
        
    }
    
    else
    {
        color = [UIColor whiteColor];
        
        
    }
    
    return color;
    
}
@end
